<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>测试加载Map4J地图</title>
<meta name="description" content="Source code generated using layoutit.com">
<meta name="author" content="LayoutIt!">
<link rel="stylesheet" href="../lib/ol/ol.css" type="text/css">
<link rel="stylesheet" href="../style/tiny.css" type="text/css">
<style type="text/css">
.map {
  height: 400px;
  width: 100%;
}
</style>
</head>
<body>
	<h2>我的地图-Map4J</h2>
    <div id="map" class="map"></div>
    
</body>

<script src="../lib/ol/ol-debug.js"></script>
<script src="../Tiny.js"></script>
<script src="../core/Util.js"></script>
<script src="../core/Class.js"></script>
<script src="../core/Events.js"></script>
<script src="../core/Handler.js"></script>

<script src="../map/Map.js"></script>
<script src="../layer/Layer.js"></script>
<script src="../layer/tile/Map4JTile.js"></script>
<script type="text/javascript">
(function(){
    var map = T.map('map').setView([126.7023, 45.7441], 8);
    
    var map4J = new T.map4JTile('http://localhost:8080/geo/TencentMap/L{z}/R{y}/C{x}.png',{});
    
    map.addLayer(map4J);
})();
</script>
</html>